// 签到页面获取签到时间的排序。

module.exports = function(){
  let thisDate = new Date();
  let dateArr = [];
  dateArr.push({
    year: thisDate.getFullYear(),
    month: thisDate.getMonth() + 1,
    day: thisDate.getDate(),
    point: "sign"
  })
  for(let i = 1 ; i < 7;i++){
    thisDate.setDate(thisDate.getDate() +1 );
    dateArr.push({
      year: thisDate.getFullYear(),
      month: thisDate.getMonth()+1,
      day: thisDate.getDate(),
      point: 10
    })
  }
  return dateArr;
}
